<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>河北农业大学机电院</title>
<link rel="shortcut icon" href="images/hebau.png"/>
<link rel="stylesheet" href="css/style1.css" type="text/css" media="all"/>
<script src="js/jquery-1.8.3.min.js"></script>
</head>

<body>
	<!--头部-->
	<div class="header clearfix">
		   <div class="top_logo">
		    <div class="wid_main fix">
		    	<a href="/"><img src="/images/xshchlogo_b6.png"/></a>
				<img src="/images/xgzx.jpg" class="xgzx"/>
		    </div>
		   </div>
	</div>
<!--二级横向菜单-->
<!-- {template 'content', 'header'} -->
		<!--二级横向菜单结束-->
<!--<div id="slider-box" style="background:url(images/slider4.jpg) center center;"></div>-->
<!-- detail -->
<div id="detail2-box" class="clearfix">
	<div class="tit-80"><a href="{siteurl($siteid)}">首页</a><span> > </span><!-- {catpos($catid)} --></div>
    <div class="tabula-box">
    	<div class="max-tit"><!-- {$CATEGORYS[$catid][catname]} --></div>
        <ul>
            <li><a href="#"><!-- {$CATEGORYS[$catid][catname]} --></a></li>
        </ul>
    </div>
    
    <div class="content-box">
    	<h1>内容列表</h1>
		<!-- {pc:content action="lists" catid="$catid" num="10" order="inputtime DESC" cache="3600" page="$page"}-->
		<ul>
            <!-- <li class="text"><a href="detail1.html">学生工作组全力做好学生疫情防控工作</a><span>2020-03-09</span></li> -->

				<!-- {loop $data $r} -->
					<li class="text"><a href="{$r[url]}" target="_blank">{str_cut($r[title], 58)}</a><span>{date('Y-m-d',$r[inputtime])}</span></li>
				{/loop}
				</ul>
			{/pc}
        
		<div id="pages" class="tcdPageCode">{$pages}</div>
		<!--
        <div class="tcdPageCode"></div>
		-->
    </div>
</div>
<div id="footer">
			<div id="div6">
				Copyright &copy; 2020 河北农业大学学生处 All rights reserved.
			</div>
			<div id="div7">
				<span>地址：河北省保定市莲池区灵雨寺街289号</span>
				<span>邮编：071001</span>
				<span>联系电话：0312-7526853</span>
				<span>工作邮箱：xueshengchu@hebau.edu.cn</span>
			</div>
		</div>
<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery.page.js"></script>

<script src="/js/main.js"></script>
<script>
    $(function(){
        $('a').each(function(){   //利用jQuery找到所有的a标签
            var link = $(this).attr('href');  //定位到href的位置
           if(link) {
			var new_link = link.replace('localhost/xsc','10.10.191.159:8080');  //把localhost替换成ip或者域名
            $(this).attr('href',new_link);
		   }
        });
    });
</script>

<script>
    $(function(){
        $('img').each(function(){   //利用jQuery找到所有的a标签
            var link = $(this).attr('src');  //定位到href的位置
           if(link) {
			var new_link = link.replace('localhost/xsc','10.10.191.159:8080');  //把localhost替换成ip或者域名
            $(this).attr('src',new_link);
		   }
        });
    });
</script>
</body>
</html>
